@title System garbage cleaning
@echo Start to clean up the garbage! Do not close it without prompt!!!!!!
::清理临时文件夹
@for /r . %%I in (.vs) do if exist "%%I" rd/s/q "%%I"
@for /r . %%I in (bin) do if exist "%%I" rd/s/q "%%I"
@for /r . %%I in (obj) do if exist "%%I" rd/s/q "%%I"
@for /r . %%I in (clientbin) do if exist "%%I" rd/s/q "%%I"
@for /r . %%I in (TestResults) do if exist "%%I" rd/s/q "%%I"
@for /r . %%I in (packages) do if exist "%%I" rd/s/q "%%I"

::清理临时文件
del /s/q/f *.user
del /s/q/f *.suo
del /s/q/f *.vspscc
del /s/q/f .\*.obj
del /s/q/f .\*.pch
del /s/q/f .\*.idb
del /s/q/f .\*.pdb
del /s/q/f .\*.ncb?
del /s/q/f .\*.opt?
del /s/q/f .\*.plg
del /s/q/f .\*.sbr
del /s/q/f .\*.ilk
del /s/q/f .\*.aps
del /s/q/f .\*.exp



::清理项目临时文件

echo Purge file complete!
pause